package com.ws.delegate;

public class Test {

	
	public static void main(String[] args) {
        ConcreteMediator cm = new ConcreteMediator();
        cm.creteConcreteMediator();
        Colleague c1 = new ConcreteColleague1(cm);
        Colleague c2 = new ConcreteColleague2(cm);
        cm.colleagueChanged(c1);
        cm.colleagueChanged(c2);
    }
}
